import { cloneDeep } from 'lodash'

export const ONE_LEVEL_TAG = '一级标签'
export const TWO_LEVEL_TAG = '二级标签'
export const THREE_LEVEL_TAG = '三级标签'
export const FOUR_LEVEL_TAG = '四级标签'
export const FIVE_LEVEL_TAG = '五级标签'

export const TITLE_MAP: any = new Map([
  [1, ONE_LEVEL_TAG],
  [2, TWO_LEVEL_TAG],
  [3, THREE_LEVEL_TAG],
  [4, FOUR_LEVEL_TAG],
  [5, FIVE_LEVEL_TAG]
])

export const LEVEL_LIMIT = 5

export const COUNT_LIMIT = 1000

export const INIT_DATA: any = cloneDeep([{ title: '一级标签' }])

export const STORE_PRE = 'service-label_'

export const STORE_LIST = `${STORE_PRE}list`

export const EMPTY = ''
